package com.milling.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.milling.common.annotation.Excel;
import com.milling.common.core.domain.BaseEntity;

/**
 * 配针信息对象 wms_config_info
 *
 * @author X
 * @date 2025-03-18
 */
public class WmsConfigInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 配针编号 */
    private Long configId;

    /** ERP下发任务编号 */
    private Long erpTaskId;

    /** 工单编号 */
    @Excel(name = "工单编号")
    private String workId;

    /** 配针状态 */
    @Excel(name = "配针状态")
    private String configStatus;

    /** 补料状态 */
    @Excel(name = "补料状态")
    private String supplyStatus;

    /** 任务关联文件 */
    @Excel(name = "任务关联文件")
    private String filePath;

    /** 默认多少台钻孔机(默认1) */
    private Long machines;

    /** 轴数(默认1) */
    private Long axles;

    /** 工单内容 */
    @Excel(name = "工单内容")
    private String configContent;

    public void setConfigId(Long configId)
    {
        this.configId = configId;
    }

    public Long getConfigId()
    {
        return configId;
    }

    public Long getErpTaskId() {
        return erpTaskId;
    }

    public void setErpTaskId(Long erpTaskId) {
        this.erpTaskId = erpTaskId;
    }

    public void setWorkId(String workId)
    {
        this.workId = workId;
    }

    public String getWorkId()
    {
        return workId;
    }
    public void setConfigStatus(String configStatus)
    {
        this.configStatus = configStatus;
    }

    public String getConfigStatus()
    {
        return configStatus;
    }

    public String getSupplyStatus() {
        return supplyStatus;
    }

    public void setSupplyStatus(String supplyStatus) {
        this.supplyStatus = supplyStatus;
    }

    public void setFilePath(String filePath)
    {
        this.filePath = filePath;
    }

    public String getFilePath()
    {
        return filePath;
    }
    public void setMachines(Long machines)
    {
        this.machines = machines;
    }

    public Long getMachines()
    {
        return machines;
    }
    public void setAxles(Long axles)
    {
        this.axles = axles;
    }

    public Long getAxles()
    {
        return axles;
    }
    public void setConfigContent(String configContent)
    {
        this.configContent = configContent;
    }

    public String getConfigContent()
    {
        return configContent;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("configId", getConfigId())
                .append("erpTaskId", getErpTaskId())
                .append("workId", getWorkId())
                .append("remark", getRemark())
                .append("configStatus", getConfigStatus())
                .append("filePath", getFilePath())
                .append("machines", getMachines())
                .append("axles", getAxles())
                .append("configContent", getConfigContent())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
